<?php if($this->session->userdata("type_user") == "superadmin"){ ?>
<ul>
    <li>
        <a href="<?php echo site_url('admin/manage_admin');?>" title="manage admin" class="menu <?php echo (isset($active_admin))?"active":"";?>" ><span>Manage Admin</span></a>
       
    </li>
    <li>
        <a href="<?php echo site_url('admin/system/banner');?>" title="banner" class="menu <?php echo (isset($active_admin_banner))?"active":"";?>" ><span>Banner</span></a>
    </li>
    <li>
        <a href="<?php echo site_url('admin/news');?>" title="news" class="menu <?php echo (isset($active_admin_news))?"active":"";?>" ><span>News</span></a>
    </li>
    <li>
        <a href="<?php echo site_url('admin/product');?>" title="product" class="menu <?php echo (isset($active_admin_product))?"active":"";?>" ><span>Products</span></a>
    </li>
    <li>
        <a href="<?php echo site_url('admin/testimonial');?>" title="manage testimonial" class="menu <?php echo (isset($active_admin_testimonial))?"active":"";?>" ><span>Testimonial</span></a>
    </li>
</ul>
<?php }else{ ?>
<nav>
<ul>
    <li>
        <a href="#" title="Invoice" class="menu <?php echo (isset($active_invoice))?"active":"";?>" ><span>Invoice</span></a> 
        <ul>
        	<li>
        	<a href="<?php echo site_url('invoice');?>" title="Lihat Daftar Invoice">Lihat Daftar Invoice</a>
            </li> 
             
            <li>
                <a href="<?php echo site_url('invoice/add_invoice');?>" title="Buat Invoice Baru" <span>Buat Invoice</span></a>
            </li>
            <li>
        	<a href="<?php echo site_url('driver/lembur');?>" title="Buat Form Lembuar">Form Lembur Driver</a>
            </li>
        </ul>
    </li>
   
   
    <li>
    	 <a href="#" title="Master Data View And Edit" class="menu <?php echo (isset($masterview))?"active":"";?>" ><span>Master Data View & Edit</span></a>
        <ul>
        	
        	<li><a href="<?php echo site_url('car/view');?>" title="Daftar Mobil Yang Sudah Di Sewa" class="menu <?php echo (isset($viewcar))?"active":"";?>" >Lihat Daftar Mobil</a></li>
            <li><a href="<?php echo site_url('driver/view');?>" title="Input Data Supir" class="menu <?php echo (isset($viewdriver))?"active":"";?>" >Lihat Daftar Supir</a></li>
            <li><a href="<?php echo site_url('customer/viewcustomer');?>" title="Input Data Supir" class="menu <?php echo (isset($viewCustomer))?"active":"";?>" >Lihat Daftar Pelanggan</a></li>
        
        </ul>
     </li>
     <li>
		<a href="#" title="Master Data Input" class="menu <?php echo (isset($masterinput))?"active":"";?>" ><span>Master Data Input</span></a>
                <ul>
        	
        	<!--<li><a href="<?php echo site_url('car');?>" title="Input Data Mobil Sewa" class="menu <?php echo (isset($carrent))?"active":"";?>" >Tambah Mobil Eksternal</a></li>-->
            <li><a href="<?php echo site_url('car/leasing');?>" title="Input Data Mobil Cicilan" class="menu <?php echo (isset($carlsg))?"active":"";?>" >Tambah Mobil Internal</a></li>
            <li><a href="<?php echo site_url('driver');?>" title="Input Data Supir" class="menu <?php echo (isset($addDriver))?"active":"";?>" >Tambah Supir</a></li>
            <li><a href="<?php echo site_url('customer');?>" title="Input Data Pelanggan" class="menu <?php echo (isset($addCustomer))?"active":"";?>" >Tambah Pelanggan</a></li>
            <li><a href="<?php echo site_url('owner');?>" title="Input Data Leasing/Agency" class="menu <?php echo (isset($owning))?"active":"";?>" >Tambah Leasing Company/Agency</a></li>
        
        </ul>
     </li>
     <li>
        <a href="#" title="Penjualan" class="menu <?php echo (isset($active_sales))?"active":"";?>" ><span>Sales & Marketing</span></a>
        <ul>
        	<li>
        		<a href="<?php echo site_url('sales/leasingCount');?>" title="Perhitungan Cicilan" class="menu <?php echo (isset($contactus))?"active":"";?>" ><span>Perhitungan Cicilan</span></a>		</li>
            <li>
            <a href="#" title="Sales Order" class="menu <?php echo (isset($contactus))?"active":"";?>" ><span>Sales Order</span></a>
            	<ul>
                	<li>
                    	<a href="<?php echo site_url('sales/salesOrder');?>" title="Sales Order" class="menu <?php echo (isset($contactus))?"active":"";?>" ><span>Tambah</span></a>
                        <a href="<?php echo site_url('sales/index');?>" title="Sales Order" class="menu <?php echo (isset($contactus))?"active":"";?>" ><span>Lihat</span></a>
                    </li>
                </ul>
        	</li>
        </ul>
    </li>
    <li>
        <a href="#" title="Laporan" class="menu <?php echo (isset($report))?"active":"";?>" ><span>Report & Summary</span></a>
          <ul>
        	
        	
            <li><a href="<?php echo site_url('report/index');?>" title="Laporan Penghasilan" class="menu <?php echo (isset($report))?"active":"";?>" >Rekap Mobil dan Supir</a></li>
            <li><a href="<?php echo site_url('report/bensin/add');?>" title="Input Data Pengeluaran Bensin" class="menu <?php echo (isset($report))?"active":"";?>" >Tambah Pengeluaran Bensin</a></li>
            <!--<li><a href="<?php echo site_url('report/viewBensin');?>" title="Lihat Pengeluaran Bensin" class="menu <?php echo (isset($report))?"active":"";?>" >Lihat Pengeluaran Bensin</a></li>-->
            
        
        </ul>
    </li>
    <li>
        <a href="#" title="#" class="menu <?php echo (isset($contactus))?"active":"";?>" ><span>Not define..</span></a>
    </li>
   
</ul>

</nav>

<?php } ?>